OAuth2: omniauth-oauth2-generic requires a user_info endpoint implementation within the OAUTH2 server
I am trying to use OpenShift's build-in OAuth2 server to delegate GitLab's authentication. However, the OpenShift OAuth2 server does not implement a user_info endpoint (which is not mandatory for an OAuth2 server to provide this).
I was wondering if it would be possible to (or):
- use the omniauth-oauth2-generic gem on OAuth2 servers that do not provide this endpoint
- relax the hard requirement of this gem to depend on a user_info endpoint
References:
Edited by Bart Van Bos