Skip to content

Commit 1c042fe

Browse files
committed
Add IVAO OAuth Scopes
1 parent 46e70ef commit 1c042fe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/oauth/ivao.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,13 @@ IVAO_CLIENT_SECRET={your_client_secret}
1919
You can retrieve your client ID and your client secret from the OAuth clients page after creating the client as explained above.
2020

2121
Now, your users can link their IVAO account to their phpVMS account and use their IVAO account to log in. The link between the two accounts is automatically established when clicking the "Login with IVAO" button on the login page. However, if the email address of the IVAO account is different from the email address of the phpVMS account, it must be done manually on the profile page.
22+
23+
24+
## Customizing scopes
25+
26+
You can add scopes to the OAuth request in addition to the default scopes by adding your scopes to the `.env` file, separated by commas.
27+
See [IVAO Scopes List](https://wiki.ivao.aero/en/home/devops/api/oauth-scopes)
28+
29+
```shell title=".env"
30+
IVAO_SCOPES=scope1,scope2
31+
```

0 commit comments

Comments
 (0)