-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Improve OAuth 2.0 / OIDC Integration #6432
Comments
Oh I thought it would work with microservices :-( |
@mraible I edited your "todo list" to add a new item on documentation |
PR #6436 fixes the redirect to localhost:9000 issue. |
@deepu105 Do you have any advice on how to default to Angular 4 and disable prompting when OAuth 2.0 is selected? |
@jdubois For the |
@mraible i'll do that on master tomorrow |
|
@mraible i didn't disable prompting as I figured we would soon add React there anyway so I just removed Angular 1 from options when oauth selected, IMO its better as user wont be confused why the prompt didn't show up and in Oauth2 docs we need to say that Angular 1.x is not supported |
@jdubois The only thing I store in the session is the login-origin-uri for redirecting back to the correct location for the client in dev mode. All the rest is handled automatically by Spring Security. I'm guessing it'll work with Hazelcast and Infinispan for session clustering, but haven't tested. |
@mraible great, so this should be tested, but indeed that should be OK |
Closing this as it's all done |
This issue is to track the improvements needed to make the OAuth 2.0 / OIDC integration into a wonderful developer experience. The main PR has been merged, these are the items remaining:
oauth2
is authentication typeyarn start
- Add redirect-to-origin support to OIDC / OAuth 2.0 #6436docker-compose
sub-generator, using the Traefik PR as a reference. Start of PR here@jdubois You mentioned here that documentation should be added in http://www.jhipster.tech/microservices-architecture/. However, I only verified this works in a monolith. I don't believe it will work in a microservices architecture. @danielpetisme created a PR to add microservices support.
The text was updated successfully, but these errors were encountered: