ICSharp
ICSharp•9mo ago

Token Introspection with service user

I have an project, in there a API Application, which is currently used for token introspection. I also needed a service user for gettinf organization informations. I tried everything , but is there any way to do ether: - Use the Application to getting org info by id Or - using service user to do token introspection? Best regards
8 Replies
Rajat Singh
Rajat Singh•9mo ago
Hi @ICSharp you can use service user to perform token introspection easily. May I know more information about what you already tried?. Can you pleas reframe your question according to the guidelines, so that it'd help me to help you 🙂 https://discord.com/channels/927474939156643850/1309166758699208785
ICSharp
ICSharpOP•9mo ago
@Rajat Singh Hi I will do it tomorrow 🙂 (im on mobile) But long story short, im not able to use the Token Introspection Endpoint with Service User PAT or Secrets, or im missing something? If im using ClientID/Secret from a Service Users, it always returns "unauthorized_client" My main goal is theoretical, to validate tokens accross "projects" via the Endpoint.
Rajat Singh
Rajat Singh•9mo ago
I see your point @ICSharp , there could be a very high chance that you might have missed a step when generating the token that is used for introspection, I 'd wait for you to see all the things that you already tried 🙂 but it is possible and fairly easy to use service users with token introspection
ICSharp
ICSharpOP•9mo ago
Okey forget about it 😄 I will do it with "applications" within project, thanks anyway 🙂 Can be closed?
Rajat Singh
Rajat Singh•9mo ago
Hi @ICSharp yes its marked as solved 🙂
Unknown User
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
Rajat Singh
Rajat Singh•9mo ago
hi @m20 I followed the guide and it works for me, may I know what request did you tried to make?. Did you use the correct scope when you generated the token in the earlier step?
Unknown User
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?