feat(setup): Use new browser signup/signin and org/project selection flow#188
feat(setup): Use new browser signup/signin and org/project selection flow#188Luca Forstner (lforst) wants to merge 2 commits into
Conversation
|
Latest downloadable build artifacts for this PR commit
Available artifact names
|
There was a problem hiding this comment.
Edit: forgot --api-url when specifying --app-url, forget this issue.
I think this breaks login for all other bt commands:
bt auth login
✔ Select login method · OAuth (browser)
Opening browser for OAuth authorization...
If it does not open, visit:
https://api.braintrust.dev/oauth/authorize?response_type=code&client_id=bt_cli_default&state=...
Waiting for browser authorization...
Paste code=...&state=... if callback doesn't complete
error: request failed (401 Unauthorized): Failed to validate Clerk JWT: Error: Unable to find a signing key in JWKS that matches the kid='...' of the provided session token. Please make sure that the __session cookie or the HTTP authorization header contain a Clerk-generated session JWT. The following kid is available: ... [timestamp=1779140533.591]
I don't think I changed the code path for |
|
Classic PEBKAC case, no issue in the code. I forgot to login incognito mode and the |
|
Previously |
Uses new sign-in flow introduced in
DO NOTE MERGE until those are merged.
Changes:
Tested locally by just running while braintrust dev server is running:
cargo run -- setup --app-url http://localhost:3000 --no-skillswizard-flow.mp4