Security

 View Only

Use Bearer token in Context Server Action

This thread has been viewed 5 times
  • 1.  Use Bearer token in Context Server Action

    Posted Aug 09, 2019 09:54 AM

    Hi,

     

    I'am trying to do a HTTP Context server action.

     

    For this i have created a context server. When i click on validate the credentials are valid.

     

    Documentation tells me that then a Bearer token is send.

     

    OAuth2: When you select OAuth2 or Both, the following fields are displayed:
    
    OAuth2 Client ID
    
    OAuth2 Client Secret
    
    OAuth2 Resource URL
    
    Validate OAuth2 Credentials: Validate button: When you click Validate, ClearPass retrieves a bearer token in order to validate whether the OAuth token server is reachable and the credentials are correct. If the credentials are not correct, an error message is displayed.

    But how can i use this token (variable) in a Context server action? 

    Now i get an error 403 forbidden.