Retrieving the Authorization Code and Obtaining an Access Token and Refresh Token #401
-
After much difficulty and confusion as to how everything works, I've managed to obtain a redirect URI which when clicked on provides me with an authorization code in the new URI its self. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The website you redirect to could show the code and maybe a button to copy it or, if you want to get more professional, the website could open your app on a button click using a custom protocol inserting your code automatically. Here is my example of a website (in Vue) which displays the code and a button to copy it: https://github.com/dargmuesli/jonas-thelemann/blob/eda0385d2b3359f6630ccacea1096552337544a6/src/pages/api/pages/oauth.vue |
Beta Was this translation helpful? Give feedback.
The website you redirect to could show the code and maybe a button to copy it or, if you want to get more professional, the website could open your app on a button click using a custom protocol inserting your code automatically.
Here is my example of a website (in Vue) which displays the code and a button to copy it: https://github.com/dargmuesli/jonas-thelemann/blob/eda0385d2b3359f6630ccacea1096552337544a6/src/pages/api/pages/oauth.vue