Добавить
Уведомления

How to Use OAuth 2.0 with Shortcuts on iOS and MacOs | Temporary work around until built seamlessly

Hey guys, apologies for the poor quality in video, editing and audio has been a while since i've done this. Anyway here I cover how to get OAuth 2.0 to work using iOS Shortcuts. I know it can be done the proper way but i have a lot more reading and experimenting to do but this is the general concept if i can get this far manually i know i can automate it and make it work seamlessly. The premise is that we will use the OAuth 2.0 playground with our credentials to grab the access tokens we need and pass it forward to our shortcut as needed to post, get, patch etc... 1: Setup your developer.google.com account is setup project, billing etc. 2. enable all required APIs Authentication, keys etc.. 3. Open Playground garb link with your ID inserted paste in URL of Shortcut 4. adjust your json as necessary for your particular API 5. Done Hope this helps, you will just need to modify this to your needs am sure you will make it work better than mine. If you do please let me know. Shortcut for reference will not work for you. https://www.icloud.com/shortcuts/30bf647867874330997e646ecccff975 Playground: https://developers.google.com/oauthplayground #step1&apisSelect=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fblogger&url=https%3A%2F%2F&content_type=application%2Fjson&http_method=GET&useDefaultOauthCred=unchecked&oauthEndpointSelect=Google&oauthAuthEndpointValue=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Fv2%2Fauth&oauthTokenEndpointValue=https%3A%2F%2Foauth2.googleapis.com%2Ftoken&includeCredentials=unchecked&accessTokenType=bearer&autoRefreshToken=unchecked&accessType=offline&prompt=consent&response_type=code&wrapLines=on

12+
18 просмотров
год назад
12+
18 просмотров
год назад

Hey guys, apologies for the poor quality in video, editing and audio has been a while since i've done this. Anyway here I cover how to get OAuth 2.0 to work using iOS Shortcuts. I know it can be done the proper way but i have a lot more reading and experimenting to do but this is the general concept if i can get this far manually i know i can automate it and make it work seamlessly. The premise is that we will use the OAuth 2.0 playground with our credentials to grab the access tokens we need and pass it forward to our shortcut as needed to post, get, patch etc... 1: Setup your developer.google.com account is setup project, billing etc. 2. enable all required APIs Authentication, keys etc.. 3. Open Playground garb link with your ID inserted paste in URL of Shortcut 4. adjust your json as necessary for your particular API 5. Done Hope this helps, you will just need to modify this to your needs am sure you will make it work better than mine. If you do please let me know. Shortcut for reference will not work for you. https://www.icloud.com/shortcuts/30bf647867874330997e646ecccff975 Playground: https://developers.google.com/oauthplayground #step1&apisSelect=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fblogger&url=https%3A%2F%2F&content_type=application%2Fjson&http_method=GET&useDefaultOauthCred=unchecked&oauthEndpointSelect=Google&oauthAuthEndpointValue=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Fv2%2Fauth&oauthTokenEndpointValue=https%3A%2F%2Foauth2.googleapis.com%2Ftoken&includeCredentials=unchecked&accessTokenType=bearer&autoRefreshToken=unchecked&accessType=offline&prompt=consent&response_type=code&wrapLines=on

, чтобы оставлять комментарии