Skip to content
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

[Backend] Setup Spring Security for oAuth #6

Open
wilsonplau opened this issue Apr 20, 2021 · 2 comments
Open

[Backend] Setup Spring Security for oAuth #6

wilsonplau opened this issue Apr 20, 2021 · 2 comments
Assignees

Comments

@wilsonplau
Copy link
Contributor

No description provided.

@joshmhanson
Copy link
Contributor

This needs to be added to application-dev.properties:

spring.security.oauth2.client.registration.google.client-id=google-client-id
spring.security.oauth2.client.registration.google.client-secret=google-client-secret

with google-client-id and google-client-secret replaced with the appropriate strings taken from Google Developer Console. How do we handle this given that we probably don't want to commit that to a public repository, and given that we'd all be using our own separate id/secrets for development?

@wilsonplau
Copy link
Contributor Author

This is usually done using environment variables. https://github.com/paulschwarz/spring-dotenv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants