[Microsoft Login Connector Demo] AADSTS54005: OAuth2 Authorization code was already redeemed

Forge Component
(1)
Published on 15 Apr by Paul Davies
1 vote
Published on 15 Apr by Paul Davies

When i tried to login with microsoft login connector, it goes to callback.aspx. 

I check with message log having the below error "AADSTS54005: OAuth2 Authorization code was already redeemed, please retry with a new valid code or use an existing refresh token.
Trace ID: 01d2c41a-489b-4bc1-b88a-29254af35600
Correlation ID: b4db717e-32ca-4f81-946b-3b2253f18233
Timestamp: 2020-04-19 08:49:47Z"

Please advise

Do check if you are making extra call for the get token endpoint with the same code. It's quite possible that the token you're using are expired as 2nd call issued a new one meanwhile.

I am newbie how to connect Microsoft, may you advise me how to check it?

Thank in advance.

Jessica