anitrack/bruno/AniTrack/Simkl/Get Code.bru

30 lines
657 B
Plaintext
Raw Permalink Normal View History

2024-07-30 12:57:08 -04:00
meta {
name: Get Code
type: http
seq: 1
}
get {
url: https://simkl.com/oauth/authorize?response_type=code&client_id={{SIMKL_CLIENT_ID}}&redirect_uri=http://localhost:6734/callback
body: none
auth: oauth2
}
params:query {
response_type: code
client_id: {{SIMKL_CLIENT_ID}}
redirect_uri: http://localhost:6734/callback
}
auth:oauth2 {
grant_type: authorization_code
callback_url: http://localhost:6734/callback
authorization_url: https://api.simkl.com/oauth/authorize
access_token_url: https://api.simkl.com/oauth/token
client_id: {{SIMKL_CLIENT_ID}}
client_secret: {{SIMKL_CLIENT_SECRET}}
scope:
state:
pkce: false
}