question

Danielle Cox avatar image
Danielle Cox asked joncloverdev commented

OAuth redirect_uri without CORS

I have OAuth working both coming from my site and from the clover dashboard. However, I would like to, in certain circumstances redirect to a different URI than my default one. This is always generating a page that says

{"message":"Redirect URL was rejected. The redirect URL does not start with the CORS domain site URL. CORS domain is 'null', redirect URL is 'https://dev/ realpayment.net/oauth/oAuthReturn' and the CORS Domain is not set."}

It is correct that I do not have CORS set. The URI there is the exact one set for the app to redirect (and without including it, things work flawlessly). The documentation says it has to be a subpath. I have attempted adding to it, but this still generates this message.

Any suggestions?

Thanks,
Danielle
OAuth
4 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bzswords avatar image bzswords commented ·

I am interested in similar behavior but cannot ascertain a solution from the thread here. What steps were taken to allow for a different redirect uri being used for OAuth?

1 Like 1 ·
joncloverdev avatar image joncloverdev bzswords commented ·

hi @bzswords did you ever get an answer or figure this out? Thanks

0 Likes 0 ·
maribel avatar image maribel commented ·

Hi Danielle,

Can you verify your redirect URL is correct? https://dev/realpayment.net/oauth/oAuthReturn

Thanks!

0 Likes 0 ·
Danielle Cox avatar image Danielle Cox commented ·
0 Likes 0 ·

1 Answer

Danielle Cox avatar image
Danielle Cox answered
You are correct, it is working in an acceptable way for me.
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community