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

My token looks like a morse code #64

Closed
DiogoJunqueiraGeraldo opened this issue Jan 16, 2023 · 4 comments
Closed

My token looks like a morse code #64

DiogoJunqueiraGeraldo opened this issue Jan 16, 2023 · 4 comments

Comments

@DiogoJunqueiraGeraldo
Copy link

DiogoJunqueiraGeraldo commented Jan 16, 2023

Maybe I'm just dumb and didn't understand how to use the library. Sorry if that's the case, but I'm perplexed about this output.

image
image

Output:
ya29.c.b0AT7lpjA9DDSaBgwjFjWyjZ6iXNU3Lmok9NQmStz4hCc3RuPOw2GQB2x5rHiKqNkNyEJHlLzEUbkJ1NF_g7wNSgCXeLnLJonMLSfmi1Sr8ZrMFCG1nDZV1tymD5dnYWX2S3g2fECKqXvJrUwxDcwe2WRhuPZmse-rFTGAm3xUdk9RpLQYLpwzVHz8rLvg33ULx7agLUcuGLf81s5GW9M82PjiEcDIgjk........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

@djc
Copy link
Owner

djc commented Jan 16, 2023

That's pretty weird, I don't know why that would happen. If you can dig in more to find the root cause, that'd be interesting!

@hrvolapeter
Copy link
Collaborator

Hi @DiogoJunqueiraGeraldo, Did you check if the token is actually not working?

I found similar issue here which mentions the dots are used as a padding since google is planing to increase the length of the tokens

@DiogoJunqueiraGeraldo
Copy link
Author

@hrvolapeter, thank you so much for finding this!

I probably got something wrong with my pubsub configuration, but the token is working, but that's not a problem anymore. I changed my project architecture to avoid these integration issues on my rust server.

thank you so much guys for the support!

image

@hrvolapeter
Copy link
Collaborator

No worries, seems like pretty recent change from Google. Good luck 🤞

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

3 participants