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

Use service discovery to configure OAuth server location #421

Closed
kmejka opened this issue May 9, 2018 · 2 comments
Closed

Use service discovery to configure OAuth server location #421

kmejka opened this issue May 9, 2018 · 2 comments

Comments

@kmejka
Copy link

kmejka commented May 9, 2018

Hi,

As the title says, I would like to configure the location of my spring oauth server in client apps using service discovery, preferably using consul.
Something like this:

security:
  oauth2:
    client:
      access-token-uri: http://<service-id>/oauth/token

I couldn't find this in any tutorial, usually it's just something like http://localhost:8080. Is it actually possible?
I know that this might not be the best place to ask this question, but I was directed here from the spring-security-oauth project, relevant issue here
Thanks in advance

@spencergibb
Copy link
Member

Duplicates spring-attic/spring-cloud-security#61

@kmejka
Copy link
Author

kmejka commented May 9, 2018

Thanks for the find @spencergibb !

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

2 participants