-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Implement OAuth2 Security for microservices #41
Comments
I think that incorporating Spring Cloud Security to our project is a natural follow up of what we already have done here. I am only wondering if securing our demo application wound't make it too complicated. I would like to keep this project as simple as possible, helping people to get started with Spring Cloud. Maybe we should create a separate branch for an OAuth2 version? @arey @dsyer |
Agree in keeping the project simple, but would be great to have a branch with the OAuth2 implementation. |
Would you like to contribute or to leave implementation to someone else? I think we can go with separate branch first and then decide whether to merge secured version to master. |
I would be glad to help as much as I can, but I'm not experienced with oauth2 used in microservices. I wanted to use this as a good base to learn the correct way to implement the service. |
Hi @ScopeSebastian, any update on this? :) |
I'd be interested in contributing to this and other security related items. In particular what I would like to add (as individual tutorial branches) is: FWIW I have experience in each of these in my day job. What is the process on this project ? Just go ahead and implement then submit a pull request ? Something else ...? |
Thank you @pmj0yce for your proposition. |
there is any update about Secure version? |
We are looking for some contributors. @pmj0yce was interested but I we didn't have any news. |
I was unable to to take this up due to work changes and then I thought the project was inactive so please don’t hold off taking it up on my account
…
|
Can i go ahead with the issue? |
Yes, please do
… On Oct 22, 2021, at 3:24 PM, simrin051 ***@***.***> wrote:
@pmj0yce
Can i go ahead with work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
I'm not an expert in microservices security but I think we could use the |
@arey Thanks for the response , the authorization should be for a single user or multiple users with signup and login page. Can you please confirm. Please |
when i configure spring security for API Gateway, i get the below error message. I removed starter web dependency and i added javax.xml.bind,javax.servlet dependency still the same error. I am stuck with this from 2 days..Can you please advice. Caused by: java.lang.IllegalStateException: StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[] failed to start |
Any news? |
A near reference web-app without authentication and authorization. Unbelievable. |
You're right @donhuvy. We have to propose a secured version. |
Thank you for your attention. I based on a video tutorial use Spring Boot 2.x : https://www.youtube.com/watch?v=vNKVm2vTL2Q&t=7261s It is a great tutorial. https://github.com/mohamedYoussfi/spring-security-jwt-oauth2-oidc You can see https://github.com/donhuvy/spring_boot_3_oauth2/ I used Spring Boot 3. My limitatation skill: I don't know how to use persistent database (PostgreSQL, MySQL, etc), just mimics and use InMemoryUserDetail . If you know how to persistent user information to real SQL database, please fork, and guide me.
|
Hi @arey https://github.com/alexandre-touret/rest-apis-versioning-workshop https://github.com/alexandre-touret/rest-apis-versioning-solution If you want I can implement it in this project |
It's this still available, if yes, can I work on it? |
Please do. My preference would be to add a security layer to the gateway, and make the other apps clients of that (so they need a token and a token relay where appropriate). The auth server could be a Spring Auth Server (so that we control the user ids). |
Hi You can get here |
Since there is a lack of samples on how to secure microservices and this is the most suggested method, it could be a good idea to implement this type of security for communication between microservices and securing them from outside requests
The text was updated successfully, but these errors were encountered: