16
Views
6
Comments
Solved
[OIDC Client] Not able to integrate OIDC Client to fetch Id_token
oidc-client
Reactive icon
Forge asset by João Barata
Application Type
Reactive
Service Studio Version
11.55.22 (Build 64167)
Platform Version
11.35.0 (Build 45040)

I am encountering difficulties integrating the OIDC component because the GetContextCookies action is not providing any output. Upon further investigation, I discovered that the context cookies are not being set. Here two API endpoints within the same OIDC module—Callback and Redirect—which are intended to set the cookie values. However, it remains unclear where these API endpoints should be activated and what specific inputs must be provided for successful execution.

 



image (2).png
image (1).png
2020-10-08 19-51-35
João Barata
Staff
Solution

From that error, it appears that the URLs I had mentioned were not properly added in the external identity provider.

The value of that URL should be added as one of the callback URLs.
 
Regards,

UserImage.jpg
Shashwat Verma

Hi @Rupesh Patil, Thanks for sharing the link!

I went through it but unfortunately, we are not able to find solution to our use case. 

2020-10-08 19-51-35
João Barata
Staff

Hi @Rupesh Patil ,@Rupesh Patil 
Those are the endpoints that will receive the response and will handle setting the context cookies.

Regards,

UserImage.jpg
Shashwat Verma

Hi @João Barata, Thank you! I followed this. Now I am getting this error. Any suggestions on this please

2020-10-08 19-51-35
João Barata
Staff
Solution

From that error, it appears that the URLs I had mentioned were not properly added in the external identity provider.

The value of that URL should be added as one of the callback URLs.
 
Regards,

UserImage.jpg
Shashwat Verma
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.