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

GatewayLogin - secret base64 encoded #1190

Closed
constantine2nd opened this issue Jan 11, 2019 · 0 comments
Closed

GatewayLogin - secret base64 encoded #1190

constantine2nd opened this issue Jan 11, 2019 · 0 comments
Assignees
Labels

Comments

@constantine2nd
Copy link
Collaborator

The option secret base64 encoded on https://jwt.io means that the secret you paste into the input field is base64 encoded an therefore needs to be decoded before it is applied. Then jwt.io makes this extra step to decode the secret first.

jwt.io indeed produces the same hash in both cases:

secret = Cannot get your at least 256 bit secret and secret base64 encoded = no or
secret = Q2Fubm90IGdldCB5b3VyIGF0IGxlYXN0IDI1NiBiaXQgc2VjcmV0 and secret base64 encoded = yes

secret base64 encoded

@tawoe @hongwei1
secret base64 encoded = no => gateway.token_secret = Cannot get your at least 256 bit secret
secret base64 encoded = yes => gateway.token_secret = Q2Fubm90IGdldCB5b3VyIGF0IGxlYXN0IDI1NiBiaXQgc2VjcmV0

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

2 participants