get url after oauth2 redirect
hey guys so im working on a api intergration with the blizzard api and blazor server app right now its all going good but im at that point where im stuck when trying to use oauth im making a get request to the authorize server i login with my blizzard account and then i get redirected back to the page in the url with my code needed to make scoped request how can i get this code from the url when the redirected is done? and on the page it looks like this
how can i detect when the redirect is succesfull and then get the current url so i can extract the code value from there?
1 Reply
Usually these oauth things redirect you to your api endpoint with some form of data you can check and later Trade for a token
I don't think there is a way to see if the oauth redirect was successful, you just gotta validate