Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How can we pass the query params in the work os client app #53

@Dhruv-Mehndhiratta-Centml

Description

  • Is there a way we can pass the query params in the login screen and then receive back those query params in the callback like on the onRedirectCallback function, I thought this can be useful to retrieve back the query params which gets passed from login screen to the redirect URL which is in this format industrious-berry-55-staging.authkit.app
    and to receive them back in the homepage of the app.

  • I tried passing context in the login function I am not able to retrieve that object back in the onRedirectCallback function is there anything which i am missing here.

  • In the documentation it states that we can pass context like this but it does not seems like i am getting this back

const context = searchParams.get("context") ?? undefined; signIn({ context });

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions