Issue with AuthKitToken.create() #342
Unanswered
onemansempire
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm implementing AuthKit in my application following your documentation at https://docs.picaos.com/authkit/setup, but I'm encountering an "Authentication service error" when users try to connect integrations through the AuthKit modal.
Setup Details:
The Problem:
When I call AuthKitToken.create() as documented, it's returning a list of connection definitions instead of a link token:
Expected Behavior:
According to the documentation, AuthKitToken.create() should return a link token in a format like:
Debugging:
When I log the available methods on the AuthKitToken instance:
The create() method exists, but it seems to be calling the wrong internal API endpoint (possibly /connections/definitions instead of a link token endpoint).
Questions:
Environment:
I'd really appreciate any guidance on how to properly generate AuthKit link tokens. Happy to provide more logs or debugging information if needed!
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions