Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions includes/text-snippets/flutter-get-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ Once initialized, you can call the `AuthProvider` functions for onboarding users
}).catchError(...);
```

!!! tip "Arcana JWT Token"

{% include "./text-snippets/jwt_token.md" %}

**Logout**

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.
Expand Down
6 changes: 5 additions & 1 deletion includes/text-snippets/react-native-get-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Make sure that you specify the unique client ID assigned to the app during regis
// For logging in
const loginWithGoogle = () => {
if(authRef !== null){
authRef.current.loginWithSocial().then(() => {
authRef.current.loginWithSocial("google").then(() => {
// logged in
}).catch(err => {
// already logged in
Expand All @@ -76,6 +76,10 @@ Make sure that you specify the unique client ID assigned to the app during regis
}
```

!!! tip "Arcana JWT Token"

{% include "./text-snippets/jwt_token.md" %}

**Logout**

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.
Expand Down