Skip to content

Commit 687ab35

Browse files
committed
Fix: #AR-7436 JWT Token fix for mobile Auth SDK
1 parent f26eadc commit 687ab35

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

includes/text-snippets/flutter-get-start.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ Once initialized, you can call the `AuthProvider` functions for onboarding users
6767
}).catchError(...);
6868
```
6969

70+
!!! tip "Arcana JWT Token"
71+
72+
{% include "./text-snippets/jwt_token.md" %}
73+
7074
**Logout**
7175

7276
Call the logout method in response to a user's choice to log out. Once a user is authenticated, the Arcana wallet can be displayed in the context of the Flutter app. The Arcana wallet UI also provides an option to log out via the profile tab.

includes/text-snippets/react-native-get-start.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Make sure that you specify the unique client ID assigned to the app during regis
6666
// For logging in
6767
const loginWithGoogle = () => {
6868
if(authRef !== null){
69-
authRef.current.loginWithSocial().then(() => {
69+
authRef.current.loginWithSocial("google").then(() => {
7070
// logged in
7171
}).catch(err => {
7272
// already logged in
@@ -76,6 +76,10 @@ Make sure that you specify the unique client ID assigned to the app during regis
7676
}
7777
```
7878

79+
!!! tip "Arcana JWT Token"
80+
81+
{% include "./text-snippets/jwt_token.md" %}
82+
7983
**Logout**
8084

8185
Add code to enable users to log out of the wallet. Note that the wallet UI also provides a way for the user's to log out using the 'User Profile' tab.

0 commit comments

Comments
 (0)