NATION

PASSWORD

Verification API - Issue with login redirection

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
New Chillvania
Civil Servant
 
Posts: 7
Founded: Apr 24, 2020
Ex-Nation

Verification API - Issue with login redirection

Postby New Chillvania » Sun Apr 26, 2020 6:58 am

There's a pretty simple issue with the verification API right now which is that if you are sent to the verification URL with a token, and have to login, then after logging in you will be redirected to the verification URL without the token, meaning that the code will not work for verifying you on the third party application.
Having this fixed would be appreciated!

User avatar
Strike
Chargé d'Affaires
 
Posts: 377
Founded: Oct 12, 2011
Ex-Nation

Postby Strike » Sun Apr 26, 2020 8:56 pm

possibly the same thing that has been reported by a few users here?

viewtopic.php?f=15&t=280548&start=500

nswiki.org seems to be using some nationstatesplusplus redirection for verification and thats not working but going directly to the API seems to work fine

User avatar
New Chillvania
Civil Servant
 
Posts: 7
Founded: Apr 24, 2020
Ex-Nation

Postby New Chillvania » Mon Apr 27, 2020 11:29 am

Strike wrote:possibly the same thing that has been reported by a few users here?

viewtopic.php?f=15&t=280548&start=500

nswiki.org seems to be using some nationstatesplusplus redirection for verification and thats not working but going directly to the API seems to work fine


The software I've written goes directly through the nationstates API according to the documentation, and all the redirection is done by nation-states, so I'm not sure that this is it

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Postby [violet] » Wed Apr 29, 2020 6:38 pm

New Chillvania wrote:after logging in you will be redirected to the verification URL without the token, meaning that the code will not work for verifying you

This should work now!

User avatar
New Chillvania
Civil Servant
 
Posts: 7
Founded: Apr 24, 2020
Ex-Nation

Postby New Chillvania » Thu Apr 30, 2020 3:10 am

[violet] wrote:
New Chillvania wrote:after logging in you will be redirected to the verification URL without the token, meaning that the code will not work for verifying you

This should work now!

Just tested it, works perfectly. Thanks for the quick response!


Return to Technical

Who is online

Users browsing this forum: Chiropterra, Countriopia, Goraria, Ioudaia, North American Imperial State, Santiago AU, Second Peenadian, Telnuhq, Tithio, United Calanworie, Wangano

Advertisement

Remove ads