API to retrieve JWT Token
Hi,
I am trying to create a simple application to integrate stripe with StreamElements Tip function instead of just relying on paypal so that viewers may donate via other means. However, currently I notice that the JWT Token for the Stream Elements ID resets every 2 weeks, for security purposes which is fine, however, that would mean that I would have to login to my application and change the JWT Token that I saved in the environment file, which is a bit of a hassle. I was wondering if there is another way of retrieving the JWT Token dynamically instead of having to login to Stream Elements and copy-paste the token into my environment file.
Thanks for your help!
Cheers,
Daryln
-
Hey Daryln!
We can inquire with our Dev team to see if it is possible to help with the Dynamic JWT token, as it does seem like it could be a little bit of a headache to have to keep updating it.
In the meantime, have you swapped your tipping page over to SE.Pay? SE.Pay helps give your viewers more ways to pay, outside of credit cards and PayPal.
You can learn more about it here: https://support.streamelements.com/hc/en-us/articles/10474426240914-SE-Pay-Overview
Enjoy!
DeQuat0 -
Following up here Daryln!
I was told by our devs that you may be better suited to request an OAuth2 request. You can find out more information on how to apply for one here:
https://dev.streamelements.com/docs/api-docs/cd02cda5171ea-o-auth2
Good luck!0
Please sign in to leave a comment.
Comments
2 comments