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

how to create API token #119

Closed
venkateshrj12 opened this issue Aug 23, 2024 · 7 comments
Closed

how to create API token #119

venkateshrj12 opened this issue Aug 23, 2024 · 7 comments

Comments

@venkateshrj12
Copy link

as per new version of FCM, while initializing we need to provide 3 values, one of them is API_TOKEN, can anyone please tell me that how can i generate or get the API_TOKEN to pass here?

@piotrekp2fieldly
Copy link

piotrekp2fieldly commented Aug 26, 2024

cc @sabman, the same question as ⬆️

@nerixim
Copy link

nerixim commented Aug 28, 2024

Hey guys. I haven't checked this myself, but looks like you don't need API_KEY, just pass nil as the first argument.
#115

@sabman
Copy link
Member

sabman commented Aug 29, 2024

For now you could try this #110 (comment) longer term we would need to make a change that allows API_TOKEN to be passed in via env vars or some kind of fall back to a config file.

@sabman
Copy link
Member

sabman commented Aug 29, 2024

@Kunj-Choksi
Copy link

Passing nil for API_TOKEN worked for me, Thanks Guys!

@venkateshrj12
Copy link
Author

venkateshrj12 commented Sep 2, 2024

Thanks Guys!, Passing nil for API_TOKEN worked for me,

But i did not get that why we need to pass the API_TOKEN if it is not required?

@sabman
Copy link
Member

sabman commented Sep 18, 2024

new release supports bearer tokens #123 (comment)

@sabman sabman closed this as completed Sep 18, 2024
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

5 participants