Update pkg/oidc/authorization.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>
This commit is contained in:
Livio Amstutz 2020-09-07 12:21:24 +02:00 committed by GitHub
parent 6b063f5963
commit 74ffa67615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ const (
//This (optional) scope value requests access to the phone_number and phone_number_verified Claims. //This (optional) scope value requests access to the phone_number and phone_number_verified Claims.
ScopePhone = "phone" ScopePhone = "phone"
//ScopeOfflineAccess defines the scope `profile` //ScopeOfflineAccess defines the scope `offline_access`
//This (optional) scope value requests that an OAuth 2.0 Refresh Token be issued that can be used to obtain an Access Token //This (optional) scope value requests that an OAuth 2.0 Refresh Token be issued that can be used to obtain an Access Token
//that grants access to the End-User's UserInfo Endpoint even when the End-User is not present (not logged in). //that grants access to the End-User's UserInfo Endpoint even when the End-User is not present (not logged in).
ScopeOfflineAccess = "offline_access" ScopeOfflineAccess = "offline_access"