Skip to main content
The projects auth-provider commands show and change the auth provider of the currently selected project: which provider issues the JWTs that identify your users, also known as JWT authentication or bring your own auth. They do the same as the JWT Authentication section of the Developer Console.

View the Current Configuration

Change the Configuration

Run crossmint projects auth-provider set and the CLI asks for the provider and what it needs. Pass --provider and its flags to run it without prompts, for example in a script:
If client keys of the project require JWT auth, they only accept JWTs from the new provider once you change it, so your usersโ€™ requests may start failing. The CLI lists those keys and asks you to confirm.