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

Crypting algorithm H instead of R256 #11

Open
matbesancon opened this issue Jan 18, 2017 · 0 comments
Open

Crypting algorithm H instead of R256 #11

matbesancon opened this issue Jan 18, 2017 · 0 comments

Comments

@matbesancon
Copy link

The algorithm used in fireauth is HS256 as specified in generator.go

// Firebase specific values for header  
const (  
	TokenAlgorithm = "HS256"  
	TokenType      = "JWT"  
)  

Firebase seems to use RS256 as referenced here:
https://firebase.google.com/docs/auth/admin/verify-id-tokens

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

1 participant