Are User API Keys Not Generated When Logging in via Login Link?

Hi, I have a question about the flow described in this topic: User API keys specification regarding how to use user API keys.

As mentioned in the post:

The flow says that if a user is not logged in and after being redirected to /user-api-key/new, they will be redirected to the login UI. After logging in with a password, the user is correctly redirected to the authorization UI. However, when using the “Login with Link” method, after opening the login link from the email, the user is only redirected to a confirmation page to complete the login and then sent to the home page, without being redirected to the authorization UI for the user API key.

My question is: Is this the expected behavior, where a user cannot generate a user API key when logging in via the “Login with Link” method? Or is there an additional setup required to ensure the user is redirected to generate the API key after logging in with the link?

1 Like