Skip to main content
Answer

Determine if authenicated user has given activity:write

  • July 29, 2024
  • 1 reply
  • 17 views

Forum|alt.badge.img+3

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

Best answer by rjbathgate

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

Easy.

1 reply

Forum|alt.badge.img+3
  • Author
  • Hub Rookie
  • Answer
  • July 29, 2024

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

Easy.