DEV Community

Discussion on: Spring boot + Spring Security 5 + OAuth2/OIDC Client - Deep Dive

Collapse
 
flythebluesky profile image
Rori Stumpf

This is great, thanks! I would love know how to set up a flow for an API client to access to OpenID where the API client doesn't redirect to a login page.

Collapse
 
shyamala_u profile image
Shyamala

Hi Rori, Do you mean you need server-server authentication, Where you do not need user token, If so then you have to use the OAuth2 Token Endpoint with grant_type=client credentials. If your identity provider supports that.