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

Add ability to login without creating a jetty session #7911

Closed
gbbirkisson opened this issue Feb 26, 2020 · 1 comment
Closed

Add ability to login without creating a jetty session #7911

gbbirkisson opened this issue Feb 26, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@gbbirkisson
Copy link
Contributor

This is for the case when we want to 'log a user' in for the scope of only 1 request. Another way to put it is to set the context for the request.

This is helpful when authenticating users with JWT's.

Options that are available:

  • Extend authLib.login method to do this.
  • Create authLib.setUser method.
  • Create contextLib.setContext method.
@gbbirkisson gbbirkisson self-assigned this Feb 26, 2020
@gbbirkisson
Copy link
Contributor Author

It has been decided to add a scope parameter to the login method. Scope can be:

  • SESSION
  • REQUEST

@rymsha rymsha added this to the 7.3.0 milestone Mar 4, 2020
gbbirkisson pushed a commit that referenced this issue Mar 9, 2020
anatol-sialitski added a commit that referenced this issue Mar 10, 2020
Add ability to login without session #7911
@alansemenov alansemenov changed the title Add ability to 'login' without creating a jetty session Add ability to login without creating a jetty session May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants