Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
adarshprime
Partner - Contributor
Partner - Contributor

Authentication using JWT

Good evening,

I seem to have encountered a problem with authentication using JWT. I followed this guide: https://qlik.dev/tutorials/create-signed-tokens-for-jwt-authorization#jwt-format-for-qlik-sense-auth...

Along with the example files that they provided in https://glitch.com/edit/#!/qlik-cloud-jwt?path=README.md%3A1%3A0

However, the problem i get when I access the webpage in question shows me this error in the console:
Uncaught SyntaxError: The requested module '/qliksdk/qlik.js' does not provide an export named 'Auth'

adarshprime_0-1649089840645.png

Could anyone please help me identify/resolve this problem?

Thank you.

Labels (3)
1 Reply
Eugene_Sleator
Support
Support

Hi @adarshprime  have you tried to remove the curly braces from the import statement. 

"Uncaught SyntaxError: The requested module ********** does not provide an export named '*******",  error occurs when mixing up default and named module imports and exports. You should not use curly braces when importing  default exports, only when importing  named exports.