-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth SSO with google gives 404/wrong redirect #317
Comments
If i set However i am still getting 404 |
I am running v2 alpha.2 |
Same happened with OAuth with Entra ID. I am working on a fix right now. |
@dithmer , this is my working config: config.yamlconfig:
web:
external_url: https://${WG_PORTAL_DNS_HOSTNAME}
auth:
callback_url_prefix: "https://${WG_PORTAL_DNS_HOSTNAME}/api/v0"
oidc:
- id: azure
provider_name: azure
display_name: Login with Azure
registration_enabled: true
base_url: "https://login.microsoftonline.com/${TENANT_ID}/v2.0"
client_id: "${WG_PORTAL_CLIENT_ID}"
client_secret: "${WG_PORTAL_CLIENT_SECRET}"
extra_scopes:
- profile
- email
field_map:
user_identifier: email
is_admin: admin Application config on Entra IDApi permissionsApp role for adminsAssign Admin role to group in Enterprise applicationsAdditional token config (probably not needed)Result |
As you may see, I'm using |
Thank you for the clarity and the alternative for the moment! Nevertheless did I already find the issue in the OAuth Flow. I just need some time to properly fix and test it. :) |
Hey! I am struggling to setup SSO through OAuth, At the moment my configuration looks like:
When i try to login using google, i am getting 404 error
I think the redirect url is broken, specifically this line
path="/api/v0https://wg.mydomain.net/api/v0/google/init"
. Any ideas how to fix this?The text was updated successfully, but these errors were encountered: