Hi everyone, I am looking to migrate my auth setup...
# ask-a-descoper
s
Hi everyone, I am looking to migrate my auth setup from current inbuilt auth system to Descope. I was hoping you could guide me to any documentation or any source which could help me on the migration script for my users, and
migration of active sessions
. I also need to
redirect the guest links
, that have already been sent, to newer magic links (that Descope creates) Do you provide these features? If yes, is there any guide or documentations for these? Would really appreciate the help here.
a
Hey Sparsh, Yes, Descope supports both user and session migration from your existing auth system: 1. User Migration: You can import users (emails, names, passwords, etc.) using Descope’s User Migration API. If password hashes aren’t available, you can send password reset links as part of the migration flow. Doc: https://docs.descope.com/migrate/custom 2. Active Session Migration: Descope allows converting existing auth tokens into Descope sessions without forcing re-login. Use the
getExternalToken
prop to exchange your legacy token for a Descope session token. Doc: https://docs.descope.com/migrate/session-migration 3. Magic Links: Existing guest magic links can’t be directly redirected — you’ll need to regenerate new Descope links or handle redirection in your backend. Doc: https://www.descope.com/learn/post/magic-links
gratitude thank you 1
s
Hi @Atharva Joshi Would go through these. Thanks for this. You have been incredibly helpful.
🙌 1