You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears the redirect_uri config is not being respected during authentication flow for the apple provider. I don't know if this is true of all providers as I've only tested this with the apple provider.
This is an issue for me because apple does not allow you to use a http address (like localhost) for your domain or callback. I attempted to use ngrok to give me a https address for the server which works but when you get redirected it appears to be using the configured host and port from phoenix's config.exs files to tell it what the redirect_uri should be.
Even after attempting to hack my way out of it by switching those to match the server so they get passed along it still fails as my local server isn't https so it passes a http address to apple.
Am I missing something in how this should be configured or is this a bug? Also is there a way to configure this to always use the hostname the client is browsing vs. the configuration on the server? I can see scenarios where the deployment environment might want the client's url vs. the server's configuration.
The text was updated successfully, but these errors were encountered:
It appears the redirect_uri config is not being respected during authentication flow for the apple provider. I don't know if this is true of all providers as I've only tested this with the apple provider.
My application configuration is as follows.
Mix.exs
config.exs
This is an issue for me because apple does not allow you to use a http address (like localhost) for your domain or callback. I attempted to use ngrok to give me a https address for the server which works but when you get redirected it appears to be using the configured host and port from phoenix's config.exs files to tell it what the redirect_uri should be.
Even after attempting to hack my way out of it by switching those to match the server so they get passed along it still fails as my local server isn't https so it passes a http address to apple.
Am I missing something in how this should be configured or is this a bug? Also is there a way to configure this to always use the hostname the client is browsing vs. the configuration on the server? I can see scenarios where the deployment environment might want the client's url vs. the server's configuration.
The text was updated successfully, but these errors were encountered: