2021-10-16 02:25:15 +00:00
key : oauth2
2021-10-16 02:36:30 +00:00
title : Generic OAuth2
description : OAuth 2.0 is the industry-standard protocol for authorization.
2021-10-16 02:25:15 +00:00
author : requarks.io
logo : https://static.requarks.io/logo/oauth2.svg
color : blue-grey darken-2
website : https://oauth.net/2/
isAvailable : true
useForm : false
props :
clientId :
type : String
title : Client ID
hint : Application Client ID
order : 1
clientSecret :
type : String
title : Client Secret
hint : Application Client Secret
order : 2
authorizationURL :
type : String
title : Authorization Endpoint URL
hint : Application Authorization Endpoint URL
order : 3
tokenURL :
type : String
title : Token Endpoint URL
hint : Application Token Endpoint URL
order : 4
userInfoURL :
type : String
title : User Info Endpoint URL
hint : User Info Endpoint URL
order : 5
2021-10-16 02:36:30 +00:00
userIdClaim :
2021-10-16 02:25:15 +00:00
type : String
2021-10-16 02:36:30 +00:00
title : ID Claim
hint : Field containing the user ID
2021-10-16 02:25:15 +00:00
default : id
2021-10-16 02:36:30 +00:00
maxWidth : 500
2021-10-16 02:25:15 +00:00
order : 6
2021-10-16 02:36:30 +00:00
displayNameClaim :
2021-10-16 02:25:15 +00:00
type : String
2021-10-16 02:36:30 +00:00
title : Display Name Claim
hint : Field containing user display name
2021-10-16 02:25:15 +00:00
default : displayName
maxWidth : 500
order : 7
emailClaim :
type : String
title : Email Claim
2021-10-16 02:36:30 +00:00
hint : Field containing the user email address
2021-10-16 02:25:15 +00:00
default : email
maxWidth : 500
order : 8
2023-01-29 23:08:13 +00:00
mapGroups :
type : Boolean
title : Map Groups
hint : Map groups matching names from the groups claim value
default : false
order : 9
groupsClaim :
type : String
title : Groups Claim
hint : Field containing the group names
default : groups
maxWidth : 500
order : 10
2021-10-16 02:36:30 +00:00
logoutURL :
type : String
title : Logout URL
hint : (optional) Logout URL on the OAuth2 provider where the user will be redirected to complete the logout process.
2023-01-29 23:08:13 +00:00
order : 11
2022-04-12 04:14:02 +00:00
scope :
type : String
title : Scope
hint : (optional) Application Client permission scopes.
2023-01-29 23:08:13 +00:00
order : 12
2022-04-17 00:39:07 +00:00
useQueryStringForAccessToken :
type : Boolean
default : false
title : Pass access token via GET query string to User Info Endpoint
hint : (optional) Pass the access token in an `access_token` parameter attached to the GET query string of the User Info Endpoint URL. Otherwise the access token will be passed in the Authorization header.
2023-01-29 23:08:13 +00:00
order : 13
2023-01-29 22:14:34 +00:00
enableCSRFProtection :
type : Boolean
default : true
title : Enable CSRF protection
hint : Pass a nonce state parameter during authentication to protect against CSRF attacks.
2023-01-29 23:08:13 +00:00
order : 14