Error 404 not found calling Authorize

I’m trying to call the Authorize endpoint (first just testing in Postman) as follows:

https://myoktapreview.com/oauth2/v1/authorize?client_id=&response_type=code&response_mode=query&scope=openid
&state=&sessionToken=

I’m getting an error 404 not found. Any ideas what could cause this? Thanks!

also same error if I indicate the redirect_uri:

https://myoktapreview.com/oauth2/v1/authorize?client_id=&response_type=code&redirect_uri=https://mysite.com/Login&response_mode=query&scope=openid
&state=&sessionToken=

Can you ensure that you are composing your base URL correctly? The request path seems fine, so my main concern would be that the domain you have provided is incorrect.

To find the correct set of endpoints, you can visit the well-known Open ID Connect metadata endpoint based on your Okta domain.