docs: add sign-in endpoint setup and impersonation requirements#402
Open
docs: add sign-in endpoint setup and impersonation requirements#402
Conversation
Add documentation for configuring the sign-in endpoint (initiate_login_uri) which is required for WorkOS-initiated flows like dashboard impersonation to work with v3's PKCE/CSRF verification. - New "Sign-in endpoint" section in Setup with route example and dashboard config - Note in "Visualizing an impersonation" that sign-in endpoint is required - Troubleshooting entry for "Missing required auth parameter" during impersonation Closes #400
gjtorikian
reviewed
Apr 9, 2026
|
|
||
| ### Sign-in endpoint | ||
|
|
||
| Create a route that initiates the AuthKit sign-in flow. This route is used as the **Sign-in endpoint** (also known as `initiate_login_uri`) in your WorkOS dashboard settings. |
Contributor
There was a problem hiding this comment.
Is there a documentation URL we can link to here for folks who want/need more info?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Missing required auth parametererror during dashboard impersonationContext: #400 — dashboard impersonation fails with v3 because WorkOS redirects directly to the callback without
state. The fix is to configure a sign-in endpoint (initiate_login_uri) so impersonation routes through the app first, allowing PKCE/state to be set up normally.