Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.08 KB

IAM-authorization-and-authentication-apis.md

File metadata and controls

21 lines (14 loc) · 1.08 KB

Authorization and Authentication REST APIs

  • Issue access_token, refresh_token and id_token. Supported grant types: grant_type = authorization_code | refresh_token | password | client_credentials
    POST http://localhost:8080/services/oauth2/{organization-id}/{project-id}/token

  • Revoke issued JWTs.
    POST http://localhost:8080/services/oauth2/{organization-id}/{project-id}/revoke

  • Redirects to redirect_uri in Authorization Code Grant flow and issues access_code token.
    GET http://localhost:8080/services/oauth2/{organization-id}/{project-id}/login

  • Endpoint to invoke login for Authorization Code Grant flow.
    GET http://localhost:8080/services/oauth2/{organization-id}/{project-id}/authorize

  • Endpoint to provide consent for Authorization Code Grant flow.
    GET http://localhost:8080/services/oauth2/{organization-id}/{project-id}/consent

  • Redirect URI endpoint to test Authorization Code Grant flow for organization/project.
    GET http://localhost:8080/services/oauth2/{organization-id}/{project-id}/redirect