cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.

Determine if authenicated user has given activity:write

rjbathgate
Shkhara

Hey,

During the Auth process, we are requesting (amongst others) the scope activity:write.

 
Is there a way to determine if the user deselected (or indeed kept selected) this permission during the Auth Process?
 
Either in the response back from in the auth process, or, at a later date with a separate API request?
 
At present, the only way I can see how to determine it is to try to write and catch the Unauthorised Error (a pretty ugly way to do it!).
 
Thanks
1 ACCEPTED SOLUTION

rjbathgate
Shkhara

Figured it out -- scope (and all those accepted) is returned in the Auth Process in the $_GET along with the token 🙂 

Easy.

View solution in original post

1 REPLY 1

rjbathgate
Shkhara

Figured it out -- scope (and all those accepted) is returned in the Auth Process in the $_GET along with the token 🙂 

Easy.