Replies: 6 comments 29 replies
-
|
/cc @pedroigor (oidc), @sberyozkin (oidc) |
Beta Was this translation helpful? Give feedback.
-
|
If Atlassian is a pure OAuth2 provider that gives only access token that can not be verified via public keys or introspection, Quarkus OIDC can verify such tokens only indirectly, typically by accessing provider specific endpoint representing the current's user account, so in this context, I'm not really familiar with Atlassian REST API, but an endpoint such as https://docs.atlassian.com/software/jira/docs/api/REST/9.17.0/#api/2/user will do, so I'd set Can you try it and let me know ? |
Beta Was this translation helpful? Give feedback.
-
|
My app is Oauth 2.0 (3LO) trying to access Jira Cloud which falls into https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#other-integrations. So the right api endpoint would be |
Beta Was this translation helpful? Give feedback.
-
|
ok, I tried using but the response parsing fails probably because Quarkus is not expecting response to be an array? Is there any workaround? |
Beta Was this translation helpful? Give feedback.
-
|
@sberyozkin Thank you so much for replies. They are very much appreciated. I had to take a detour to implement my own TokenStateManager because I dont want to add new dependencies ( available implementations db, redis ) and Atlassian access tokens are bigger than allowed cookie sizes. |
Beta Was this translation helpful? Give feedback.
-
|
@abvaidya Can you give me a favor and describe how can I set up Atlassian OAuth2 to reproduce your own setup, I see that they have docs how to do it, but I'm concerned my setup will end up working against some other, newer Atlassian OAuth2 deployment (which can happen even with GitHub) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using OIDC multi-tenancy with multiple providers and one of the providers ( Atlassian ) does not support openid scope i.e. the consent screen doesnt even show up if I include openid scope, so :
Am I missing something? Based on the documentation, I got the impression that Quarkus can handle oauth2 providers like Github / X which dont support openid / doesnt provide id_token
TIA
Beta Was this translation helpful? Give feedback.
All reactions