1
Acknowledged

Clarity OAuth token invalid

We have gotten several warnings over the last few weeks where the OAuth Token for Clarity breaks.  We have struggled with figuring out what was causing and why it was happening.  We initially thought it was the process of upgrading servers or something, but this morning clued me into something else.

My user name is the one we use to authenticate BIM360...

When i go update the credentials, it says that it is trying to use the username shown in the image below to authorize.  Clearly that is not what we want.

I can tell you that I was just on the Autodesk University site testing how their new attendee profiles work and signed out as me and signed in as, you guessed it, jnaro@moodynolan.com

This appears to have broken the OAuth Settings.  What is the actual cause of this?  How does this authentication actually work?  It seems very fragile that if every time i sign out and sign in as someone that it will break the token.

Any insight would be helpful.  Thanks.

2 replies

I recommend using incognito mode or something equivalent when authorizing. When you click authorize, it forwards you over to BIM360 for the authorization. If you are not logged into Autodesk, you will get the typical Autodesk signin. If you are already signed in to Autodesk, then it presumes that is the account that you are authorizing.

Ok.  Thank you Matt.  I will be certain to do that.  I am still a little confused on why and how clarity deals with the OAuth and why it cares what account i am logged into on a internet browser.  Are you thinking that if i use incognito mode when i authorize, that from that point it i will be able to sign in and out of autodesk accounts on my machine without messing up the OAuth settings going forward? 

***UPDATE***

Tried to use chome incognito mode to reauthenticate and it gave me the following.  It didn't work.

Then i tried microsoft edge in a private window, it seemed like it wanted to work, but it still found the autodesk account i was logged into in that session previously (which isnt the one i want).  Obviously i can sign out of that account, but the fact that it found the account i was previously signed into tells me it will just break again.

Unfortunately we have multiple Autodesk Accounts that i interact with regularly.  So maybe this is just something i need of be aware of and work around.  Should i maybe use an internet browser that i rarely use like IE or something to authenticate?