Documentation Index
Fetch the complete documentation index at: https://dynamic-docs-feat-sidebar-revamp.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Dynamic supports signing in with third-party JWTs — read about it
here.
In this page we’ll show how that can be achieved with our React Native SDK!
Notice that third-party auth must be enabled in your environment’s
dashboard settings first! See how to
here.
Providing an external JWT to dynamic
Once you have access to your user’s JWT and ID, just pass them both to Dynamic by calling:
await dynamicClient.auth.signInWithExternalJwt({ externalJwt, externalUserId })
or
await dynamicClient.auth.verifyWithExternalJwt({ externalJwt, externalUserId })
This promise resolves when the sign in is complete — and that’s it! You’re done.
You can find the reference for this method here.