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

Accept algorithmic token in oauth introspection #405

Merged
merged 6 commits into from
Jul 11, 2024

Conversation

byewokko
Copy link
Collaborator

@byewokko byewokko commented Jul 11, 2024

Issue

When sending an algorithmic session token to nginx oauth introspection, the app logs "Corrupt access token format: Base64 decoding failed." and returns 401.

Change summary

  • Added support for algorithmic tokens to oauth introspection.
  • Minor refactoring - use error-driven flow when deserializing algorithmic sessions.

@byewokko byewokko added the bug Something isn't working label Jul 11, 2024
@byewokko byewokko self-assigned this Jul 11, 2024
@byewokko byewokko marked this pull request as ready for review July 11, 2024 14:15
@byewokko byewokko merged commit 020f73f into main Jul 11, 2024
5 checks passed
@byewokko byewokko deleted the fix/accept-algorithmic-token-in-oauth-introspection branch July 11, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant