GoogleTokenProvider (security.providers.google.login) Configuration

Google Authentication provider

Type: io.helidon.security.providers.google.login.GoogleTokenProvider

Config key
google-login
Copied

This type provides the following service implementations:

  • io.helidon.security.spi.SecurityProvider

  • io.helidon.security.spi.AuthenticationProvider

Configuration options

Optional configuration options
keytypedefault valuedescription
client-id

string

 

Google application client id, to validate that the token was generated by Google for us.

optional

boolean

false

If set to true, this provider will return io.helidon.security.SecurityResponse.SecurityStatus#ABSTAIN instead of failing in case of invalid request.

outbound 

Outbound configuration - a set of outbound targets that will have the token propagated.

proxy-host

string

 

Set proxy host when talking to Google.

proxy-port

int

80

Set proxy port when talking to Google.

realm

string

helidon

Set the authentication realm to build challenge, defaults to "helidon".

token`Authorization` header with `bearer` prefix

Token provider to extract Google access token from request, defaults to "Authorization" header with a "bearer " prefix.