added simkl gettoken to bruno
This commit is contained in:
29
bruno/AniTrack/Simkl/Get Code.bru
Normal file
29
bruno/AniTrack/Simkl/Get Code.bru
Normal file
@ -0,0 +1,29 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user