Open ssoulless opened 2 years ago
This note might be relevant: https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5992#note_531363944
I have facing the same issue.
When I try to set an absolute URI in token_endpoint I have this error
Authentication failure! Request URI must have schema. Possibly add 'http://' to the request URI?: ArgumentError, Request URI must have schema. Possibly add 'http://' to the request URI?
I've had a look at both answers but I am not technically able to implement the first and the second seems to be related to different providers, which is not what we need.
I have two endpoints one for Authorization and another for token:
Authorization endpoint: https://oauth.provider.com/authorize
Token endpoint: https://oauth-secured.provider.com/token
as you can see each one has a different host, but are the same provider, I'm not sure how to configure this in the gem as you can only specify one host: