Hi! I'm using GoodData Cloud in an html (non-React...
# gd-beginners
k
Hi! I'm using GoodData Cloud in an html (non-React) context, thus working with Web Components; as I'm testing things, I would like to use api tokens (as mentioned in the docs) rather than sso. I assume I'm missing the simple explanation for how to accomplish that – could somebody please point me in the right direction? Thanks 🙂
j
Hi Kayden, Please see the bellow documentation: https://www.gooddata.com/docs/cloud/getting-started/create-api-token/ Does this help to answer your question?
k
Hi @Julius Kos, thanks for the response. I already have an API token, but we've just been working with iframes so far – looking to test out Web Components now. The documentation seems to allow for API token use with Web Components, but doesn't explain how (in the pages I've found). I'm looking for an explanation as for how to use an API token in a (non-React) Web Component context 🙂
j
Hi @Kayden, Apologies for the confusion, I was double-checking this again and it appears that for authentication while using Web Components, you can only use SSO: https://www.gooddata.com/docs/gooddata-ui/latest/learn/embed_dashboards/web_components/authentication/
👍 1
The documentation which you’ve sent previously is taken from React section and shows the possibilities of authentication with CLI applications.
👍 1