Skip to content

Commit f99ff96

Browse files
committed
docs: add note for change Authorization to PersonalAccessCodes
1 parent 2042c1f commit f99ff96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/guides/mobile_apps.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,9 @@ class LoginController extends BaseController
5858
```
5959

6060
When making all future requests to the API, the mobile client should return the raw token in the `Authorization` header as a `Bearer` token.
61+
62+
> **Note**
63+
>
64+
> By default, `$authenticatorHeader['tokens']` is set to `Authorization`. You can change this value by setting the `$authenticatorHeader['tokens']` value in the `Auth.php` config file.
65+
>
66+
> e.g. if `$authenticatorHeader['tokens']` is set to `PersonalAccessCodes`. the mobile client should return the raw token in the `PersonalAccessCodes` header as a `Bearer` token.

0 commit comments

Comments
 (0)