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

Option to save oauth redirect parameters #454

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GDay
Copy link
Member

@GDay GDay commented Mar 29, 2024

In some cases, the oauth server returns more back to the chiefonboarding instance than just the code (which is necessary to get the actual access/refresh tokens).

If you want to save the extra GET parameters as well, then you can enable store_redirect_parameters in the oauth config.

If you enabled the store_redirect_parameters value, then you can get the parameters by doing:

{{ oauth.redirect_params.<your param name> }}

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 89.751% (+0.003%) from 89.748%
when pulling ae30685 on save-oauth-redirect-params
into 8920b0b on master.

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

Successfully merging this pull request may close these issues.

None yet

2 participants