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

Cookie based authentication #512

Closed
joepio opened this issue Oct 10, 2022 · 0 comments
Closed

Cookie based authentication #512

joepio opened this issue Oct 10, 2022 · 0 comments
Assignees

Comments

@joepio
Copy link
Member

joepio commented Oct 10, 2022

See https://github.com/atomicdata-dev/atomic-data-docs/pull/138/files#

Browser issue

  • Check out actix_identity
  • Parse the cookie header, get the Authentication Resource. Use the cookie API, probably.
  • Check (re-use get_agent_from_auth_values_and_check, extend it where needed)
    • if the signature matches
    • expires-at
    • if the subject matches (in this case, the server_url)
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