Hello Community,
I've opened a support ticket (01926683) on this topic, but seeing if someone here has bumped into this as well and has a solution. When I begin the process of requesting on OAuth2 access token, I make the request to the auth server:
GET https://auth.brightspace.com/oauth2/auth?response_type=code&redirect_uri=https://example.edu/oauthreturn&client_id=xxxxxxxxxxxxxx&scope=…..
That request provides a 302 redirect to:
https://xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.lms.brightspace.com/d2l/auth/api/token?x_a=……
Since 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.lms.brightspace.com' is not the same as 'example.edu' I get a not authorized error, because it's a different domain that I do not have a current session in.
Is anyone else seeing this behavior (auth service redirecting you to the wrong domain)?