-
Notifications
You must be signed in to change notification settings - Fork 1
Authorization Request
Sasha Karol edited this page Sep 22, 2022
·
4 revisions
You can create an authorization request to Alfred (https://alfred-cg.herokuapp.com/oauth/authorize
). To do this, define the following parameters:
-
REQUIRED
response_type
(value must be set tocode
) -
REQUIRED
client_id
(uid of your Alfred application) -
OPTIONAL
redirect_uri
(uri to redirect after auth, must match your Alfred applicationredirect_uri
) -
OPTIONAL
scope
(the scope of the access request, must match your Alfred applicationscopes
) -
RECOMMENDED
state
(an opaque value used by the client to maintain state between the request and callback)
As a result, your request should look like this https://alfred-cg.herokuapp.com/oauth/authorize?client_id=qwertyuiop&redirect_uri=https%3A%2F%2Flocalhost%3A3000&response_type=code&scope=user&state=123456
! Please note, when passing uri:
- use
https
- replace all
/
to%2F
- replace all
:
to%3A