Working OAuth pre-flight script #152
charles-hill-work
started this conversation in
Show and tell
Replies: 2 comments 4 replies
-
One thing that would help overcome the limitations of the |
Beta Was this translation helpful? Give feedback.
4 replies
-
For those following this, I've edited the script to better handle missing environment variables, user cancelation (Close button), and markdown formatting. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here's my solution to managing OAuth tokens in Apollo Studio using Device Authorization Flow.
How it works
Submit
in the prompt (limitation of Studio)Limitations
prompt()
. So:Connection settings - Headers
Authorization
=Bearer {{token}}
Environment Variables needed
Pre-flight Script
Edited to include markdown formatted prompts (warnings and authorization)
Beta Was this translation helpful? Give feedback.
All reactions