-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(authentication): support OpenID Connect (#625)
* feat(authentication): support OpenID Connect * docs [skip ci] * fixes * fix(android): add missing `@PluginMethod`
- Loading branch information
Showing
11 changed files
with
304 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@capacitor-firebase/authentication': minor | ||
--- | ||
|
||
feat: support OpenID Connect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Set up authentication using OpenID Connect | ||
|
||
## Android | ||
|
||
1. See [Before you begin](https://firebase.google.com/docs/auth/android/openid-connect?hl=en#before_you_begin) and follow the instructions to configure sign-in with OpenID Connect correctly. | ||
|
||
## iOS | ||
|
||
1. See [Before you begin](https://firebase.google.com/docs/auth/ios/openid-connect?hl=en#before_you_begin) and follow the instructions to configure and enable sign-in with OpenID Connect correctly. | ||
**Attention**: Skip step 2. The `FirebaseAuth` pod is already added by the plugin. | ||
2. Add custom URL schemes to your Xcode project: | ||
1. Open your project configuration. | ||
Select your app from the **TARGETS** section, then select the **Info** tab, and expand the **URL Types** section. | ||
2. Click the **+** button, and add a URL scheme for your reversed client ID. | ||
You find this value in your `GoogleService-Info.plist` configuration file. | ||
Look for the `REVERSED_CLIENT_ID` key and paste the value of that key into the **URL Schemes** box on the configuration page. | ||
Leave the other fields blank. | ||
|
||
## Web | ||
|
||
1. See [Before you begin](https://firebase.google.com/docs/auth/web/openid-connect?hl=en#before_you_begin) and follow the instructions to configure and enable sign-in with OpenID Connect correctly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.