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 entrypoint webhook for custom cookies #180

Closed
2 tasks
byewokko opened this issue Mar 24, 2023 · 1 comment
Closed
2 tasks

Cookie entrypoint webhook for custom cookies #180

byewokko opened this issue Mar 24, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@byewokko
Copy link
Collaborator

byewokko commented Mar 24, 2023

  • The POST /cookie/entry request should trigger a webhook and obtain a response with additional cookies to set.
  • The webhook URL should be configured in Client metadata.

This will require new client features

  • cookie_entry_uri - considered as one of the Client's allowed Redirect URIs.
  • cookie_webhook_uri - called by the cookie entrypoint after successful auth. Expected to accept a PUT JSON request and to respond with JSON containing cookie names and values.

Introspection, in case of 401, can automatically build the authorize?client_id=...&state=...&...&redirect_uri=<cookie_entry_uri> and send it back in the Location header. Nginx extracts it and does the redirection.

@byewokko byewokko added the enhancement New feature or request label Mar 24, 2023
@byewokko
Copy link
Collaborator Author

byewokko commented Aug 8, 2023

resolved in #188

@byewokko byewokko closed this as completed Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant