-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support Okta as OIDC #78
Comments
We need at least to overwrite application.properties with a dedicated heroku properties and change the issuer, clientsecret. And it looks like the redirect uris are different from the nes we have on the boot backend. If we could align them we can reuse the script, but adapting the script should also be no problem. |
I will handle this together with #85 |
I have an apllication deployed via heroku and setup all in the heroku add on. The micronaut app send the redirect url as @JasonTypesCodes do you know it that can be changed? |
Which redirect url are you referring to? The one provided to the OIDC? |
Yes, the one provided to the OIDC, when clicking login. `https://....okta.com/oauth2/default/v1/authorize?scope=openid+email+profile&response_type=code&redirect_uri=http%3A%2F%2Fmhipster-5.herokuapp.com%2Foauth2%2Fcallback%2Foidc&state=.... @mraible Not sure, but at least right now checking the |
@atomfrede I presume you are in a situation where there is something between the Micronaut server and the consumer and Micronaut is running in HTTP but the end user to connecting through something else using HTTPS. One option is to run Micronaut with Another option is to add your own
You can also add the |
Thanks will give it a try. Hopefully setting the property is enough |
The custom host resolver works fine. Another question, which is not clear to me from the documentation. For spring boot we active e.g. |
The order that the environments are specified should determine which property is loaded. See: https://docs.micronaut.io/latest/guide/index.html#_environment_priority |
Thanks @JasonTypesCodes seems to works. I think I provide a small improvement to the docs to make that easier to spot. |
@JasonTypesCodes Do you have started already to add the user sync with the idp? My first try does it in the user details mapper and works fine. |
@atomfrede All of my recent work is merged now. I did not add anything to sync user information with the idp. |
I provide a small proposal to sync the users such that it would work with users created in keycloak/okta only. |
See: jhipster/generator-jhipster#11715
The text was updated successfully, but these errors were encountered: