OAuth implicit grants
-
- UpdatedAug 3, 2023
- 1 minute read
- Vancouver
- Platform Security
ServiceNow instances support the implicit grant of an access token.
The implicit grant type, also known as implicit grant code flow, allows the access token to be given directly to the client application via the user agent, which is typically the web browser or mobile device. No refresh tokens are granted. The end user must still grant access to the protected resource on the instance, just as with standard .
OAuth implicit grant flow process
client_id=<the necessary client ID>
. This is mandatory to identify which protected resource the client application wants access to.response_type=token
. This is mandatory to request the access token directly (as opposed to asking for an authorization code). The value must betoken
for implicit grants. In the standard authorization code flow example, the response type iscode
.redirect_uri=<a URL>
: The location where the token is sent.
The authorization server sends the access token, rather than an authorization code, to client application via the user agent.