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

Get the token from cookie. #4

Open
namirinz opened this issue Dec 29, 2021 · 1 comment
Open

Get the token from cookie. #4

namirinz opened this issue Dec 29, 2021 · 1 comment

Comments

@namirinz
Copy link

I'm new in web developing.

In gofiberfirebaseauth.go line 45 "IDToken := c.Get(fiber.HeaderAuthorization)".
Can we get the IDToken from cookie value? instead.
Like in gofiber/jwt that you can select the method (jwtFromCookie(), jwtFromHeader()).

@sacsand
Copy link
Owner

sacsand commented Dec 31, 2021

Hi ,
Thanks for pointing out.
currently this package does not support "get the IDToken form cookies" . But it is possible to add support .
You are welcome to make A PR on this( let me know here, if you are or i will add this in next release) . And please let me know if you need help on this . Thanks cheers!

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

2 participants