hey! trying to integrate electron & descope, u...
# ask-a-descoper
g
hey! trying to integrate electron & descope, using the oidc example, but keep getting the bellow error, although I set the callback in the approved domains, in the app settings in descope. Using a custom scheme electron://callback any idea?
Copy code
{
  "errorCode": "E061003",
  "errorDescription": "Redirect URL does not match the approved domain list",
  "errorMessage": "Redirect URL does not match the approved domain list",
  "message": "Redirect URL does not match the approved domain list"
}
d
Hi, can you share the full
/authorize
url?
c
@Michael Rimboim - you worked with our electron docs right? Maybe related? However, I think generally this relates to the approved domains, do you have this callback also configured in the approved domains list within the project settings? https://app.descope.com/settings/project
d
@Gal Malachi to fix that you need to put
callback
in the approved domains.
g
r
did you also add electron://callback to the approved domains list?
g
@Reuven Zabirov yes
d
@Gal Malachi did you put “callback” as is? Without anything before and after
g
@Doron Sharon yes
I have sso enabled - is this a problem?
is this what you mean?
r
put the word
callback
just like this
g
ok
thanks it works