Docly

How to authenticate a Visual Guard User?

Estimated reading: 1 minute 66 views

To authenticate a Visual Guard user, you need a POST request

  • client_id : the application to which the user wants to connect
  • scope: the details the application needs to secure roles, permissions, user attributes, etc.
  • client_secret: is a secret of the connection
  • Username: name of the user
  • Password: password of the user
  • VGAuthenticationModule: needs to be VGUser
curl --location --request POST 'https://<Your Identity Server>/connect/token'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'client_id=6f209594-fc04-4e96-9f9f-7daf57b0fb12_Native'
--data-urlencode 'scope=openid profile VGActivityDate VGApplications VGDeveloper VGIsApproved VGIsLocked VGPermissions VGProfile VGRoles VGToken offline_access IdentityServerApi'
--data-urlencode 'client_secret=secret'
--data-urlencode 'Username=<Your Visual-Guard user>'
--data-urlencode 'Password=<Password of the user>'
--data-urlencode 'grant_type=VGAuthenticator' 
--data-urlencode 'VGAuthenticationModule=VGUSER'

Leave a Comment

Share this Doc
CONTENTS