mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-28 13:45:49 +03:00
[GH-ISSUE #370] 2-legged authorization #237
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#237
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zishanj on GitHub (May 5, 2017).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/370
Description:
Any working example with 2-legged OAuth2 authorization of Google services account?
OAuth Provider (Google Services account):
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
8.0 (Swift 3.0)
8.0 (Swift 2.3)
7.3.1
other: (Please fill in the version you are using.)
objective c
@zishanj commented on GitHub (May 5, 2017):
the Google provide us with following JSON file:
{
"type": "service_account",
"project_id": "afsfsa",
"private_key_id": "24324",
"private_key": "-----BEGIN PRIVATE KEY-----\nsdfsafasf==\n-----END PRIVATE KEY-----\n",
"client_email": "asdfsaf.iam.gserviceaccount.com",
"client_id": "234324234242",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "http://asdfasfa.iam.gserviceaccount.com"
}
@oshitub123 commented on GitHub (May 10, 2017):
what it is, what is your question?
@phimage commented on GitHub (Jun 4, 2017):
please give more informations
I close until you provide it
because I cannot guess if you are talking about jwt, server to server https://developers.google.com/identity/protocols/OAuth2ServiceAccount