on 2023 Nov 21 6:38 AM
Hi All,
I am trying to make an OIDC login using Hosted Page. I am getting an error like in the image below. I know that the consent should be encrypted and then I created a consent page.
Now my question is, how to let the gigya.oidc.js SDK know the consent page to automatically redirect the page if consent is needed?
In localhost all I need to do is this code. How to do it in Hosted Page?
<script
type="text/javascript"
lang="javascript"
src="https://cdns.gigya.com/JS/gigya.oidc.js?apiKey=<API_KEY>"
>
{
loginURL: "http://localhost:3000/login",
consentURL: "http://localhost:3000/consent",
errorURL: "http://localhost:3000/error"
}
</script> <script type="text/javascript" lang="javascript" src="https://cdns.gigya.com/JS/gigya.oidc.js?apiKey=<API_KEY>" > { loginURL: "http://localhost:3000/login", consentURL: "http://localhost:3000/consent", errorURL: "http://localhost:3000/error" } </script> <script type="text/javascript" lang="javascript" src="https://cdns.gigya.com/JS/gigya.oidc.js?apiKey=<API_KEY>" > { loginURL: "http://localhost:3000/login", consentURL: "http://localhost:3000/consent", errorURL: "http://localhost:3000/error" } </script>
And another question is, how to import a library in the screenset of the consent page to create the consent signature?
Request clarification before answering.
When using OIDC with Hosted Pages in CDC, the RP must be configured to skip consent.
There is no consent page handling in hosted pages, as consent for sharing data is collected during the registration process.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jonathan,
The page displayed when the RP calls the OP's /authorize endpoint is defined in the OP configuration.
Only in the case where you need to override that page for a given RP(s), you can configure that in the RP, in the 'proxy page override' section.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.