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

warden: allow scopes in policies #330

Closed
aeneasr opened this issue Dec 19, 2016 · 6 comments
Closed

warden: allow scopes in policies #330

aeneasr opened this issue Dec 19, 2016 · 6 comments
Labels
rfc A request for comments to discuss and share ideas.
Milestone

Comments

@aeneasr
Copy link
Member

aeneasr commented Dec 19, 2016

Could probably work really well with context

@aeneasr aeneasr added feat New feature or request. request and removed feat New feature or request. labels Dec 19, 2016
@kop
Copy link

kop commented Mar 5, 2017

+1 to this. Personally, I don't really understand how to use scopes together with Ladon/Warden and how they should work together.

@arekkas, maybe you could write a blog post showing how to build a simple API application using Hydra for both Authentication and Authorization?

@aeneasr
Copy link
Member Author

aeneasr commented Mar 6, 2017

@kop absolutely, I wanted to do that for a long time but didn't manage yet. The idea would be:

  1. Boot database + hydra with docker
  2. Connect to it
  3. Create a oauth2 client for the consent flow
  4. Set up the right policies
  5. Create another oauth2 client for token validation
  6. Guard an API with it
  7. Create another oauth2 client to perform the auth code flow

What do you think?

@kop
Copy link

kop commented Mar 6, 2017

@arekkas, sounds great! I would definitely love to see such post.

@aeneasr
Copy link
Member Author

aeneasr commented Mar 6, 2017

We could probably start outlining it here, and it would be great to get some help with it :)

@aeneasr aeneasr mentioned this issue Mar 7, 2017
4 tasks
@aeneasr
Copy link
Member Author

aeneasr commented Mar 7, 2017

#385 (comment)

@aeneasr aeneasr added this to the unplanned milestone Jun 5, 2017
@aeneasr
Copy link
Member Author

aeneasr commented Jun 5, 2017

this doesn't make a lot of sense, the warden should be separate from oauth2 scopes

@aeneasr aeneasr closed this as completed Jun 5, 2017
@aeneasr aeneasr added rfc A request for comments to discuss and share ideas. and removed request labels Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rfc A request for comments to discuss and share ideas.
Projects
None yet
Development

No branches or pull requests

2 participants