-
Notifications
You must be signed in to change notification settings - Fork 0
/
info.txt
23 lines (19 loc) · 2.33 KB
/
info.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
https://sidelo.auth0.com/authorize?audience=messagor&response_type=token&client_id=FhBQ5eiZ3itpOdPSlOF9zwR0lFdPxNOZ&redirect_uri=https://localhost:8100/callback
curl --request GET \
--url 'https://sidelo.auth0.com/userinfo' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkpaVDNQcWVKdmYxSTdqXy1mMzBGRCJ9.eyJpc3MiOiJodHRwczovL3NpZGVsby5hdXRoMC5jb20vIiwic3ViIjoiYXV0aDB8NWVlZDJlODFjNmJhYzYwMDE5OTQ4NzBkIiwiYXVkIjoibWVzc2Fnb3IiLCJpYXQiOjE1OTI4MzY1NDAsImV4cCI6MTU5Mjg0Mzc0MCwiYXpwIjoiRmhCUTVlaVozaXRwT2RQU2xPRjl6d1IwbEZkUHhOT1oiLCJzY29wZSI6IiIsInBlcm1pc3Npb25zIjpbImdldDpyb29tcyJdfQ.RRImPh3rg1M25ks15sxVH4T8GUNKDFUzUXCypvavjvUQbO-xFL73ZncNy_CXqEXkJ-VLS_wwIWb0wcpLS3AR0FNgQPFVFKh8DqQ702v3e5abcFt0AUm_zFYVY7c3kegoUveTnTAYHkQF_K9gUUoPDWVKf-qhz5bu3_MhNpQQYwVQqziCeHxb2I1JmbxwVyh0pYuHGat3cgYcUl7JwcEoGxZKXEEa38LPB1qXsgh53otTOnUsKCmjFyZs1tLKMJl_XCk5pL3Xypv8sh9exCTOCQ-8veEMbQJu6Pi53QZmmCGkyG8AtY6w6Rr8omR6Kp27otpKNgFDyZwXnzVwttFp_Q' \
--header 'Content-Type: application/json'
curl --request GET \
--url 'https://YOUR_DOMAIN/v2/logout' \
--header 'content-type: application/json' \
--data '{"client_id":"YOUR_CLIENT_ID", "returnTo":"LOGOUT_URL"}'
curl --request GET \
--url 'https://sidelo.auth0.com/api/v2/users/auth0|5eed2e81c6bac6001994870d' \
--header 'authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkpaVDNQcWVKdmYxSTdqXy1mMzBGRCJ9.eyJpc3MiOiJodHRwczovL3NpZGVsby5hdXRoMC5jb20vIiwic3ViIjoiYXV0aDB8NWVlZDJlODFjNmJhYzYwMDE5OTQ4NzBkIiwiYXVkIjoibWVzc2Fnb3IiLCJpYXQiOjE1OTI4NDA4NjAsImV4cCI6MTU5Mjg0ODA2MCwiYXpwIjoiRmhCUTVlaVozaXRwT2RQU2xPRjl6d1IwbEZkUHhOT1oiLCJzY29wZSI6IiIsInBlcm1pc3Npb25zIjpbImdldDpyb29tcyJdfQ.OhouEk-DAYLSxmAK-HuIn-o1qYBJfjN8UL541-rhwsaea3nu3XA5UwpGWJ66_WTjMiljzRYAqQY6bRl90jwhhii4QZ7VYYKgvpGk9nn_tjjXoUfsiR1lmOJGhtDgc023xwFfReTqn1LJzaojODFgNfYYukbaDr092NHoOXJzLMol9mEh9GqoX1FV2nXfdnaABs5qmtB3d6ZEcUWxOZDhMaQDgL-L_h_7odbsKccv18xQntJYO0KMJXghiBswZXGNpVa3eRKOLp3po6UlXrQnC-WJjV8-Q5sVh1iR6kkRlZfqjIHLGwASBT9_WPZjZqipDe3AZ6vYbJ_M8qfnuQ_lAQ'
curl --request POST \
--url 'https://sidelo.auth0.com/oauth/token' \
--header 'content-type: application/x-www-form-urlencoded' \
--data grant_type=client_credentials \
--data 'client_id=FhBQ5eiZ3itpOdPSlOF9zwR0lFdPxNOZ' \
--data client_secret=659cPisScB4tE42P122UqRN06Ytgi8yjFQzenk4DXbgdPhUZAz0YRALqX7v_U-HQ \
--data 'audience=https://sidelo.auth0.com/api/v2/'