cancel
Showing results for 
Search instead for 
Did you mean: 

Determine if authenicated user has given activity:write

rjbathgate
Mt. Kenya

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
Mt. Kenya

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
Mt. Kenya

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

Easy.