You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/openfaas-pro/sso/microsoft-entra.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,9 @@ This guide covers how to configure [Microsoft Entra]() as an identity provider f
20
20
21
21
3. Configure allowed callback URL for the OpenFaaS dashboard and CLI.
22
22
23
-
Browse to *Identity -> Applications -> App registrations*. In the All application tab select your OpenFaaS application. Next, under Authentication click *Add platform* and select Web.
23
+
Browse to *Identity -> Applications -> App registrations*. In the All application tab select your OpenFaaS application and navigate to *Authentication*.
24
+
25
+
Under Platform configurations click *Add platform* and select Web.
24
26
25
27
Enter a redirect URI:
26
28
@@ -29,6 +31,8 @@ This guide covers how to configure [Microsoft Entra]() as an identity provider f
29
31
30
32
You can add more URIs later once the first one has been registered.
31
33
34
+
Next, under Implicit grant and hybrid flows, select the `ID tokens (used for implicit and hybrid flows)` checkbox.
@@ -60,4 +64,18 @@ This guide covers how to configure [Microsoft Entra]() as an identity provider f
60
64
tokenExpiry: 12h
61
65
```
62
66
63
-
The `tokenExpiry` field can be used to set the expiry time of the OpenFaaS access token.
67
+
The `tokenExpiry` field can be used to set the expiry time of the OpenFaaS access token.
68
+
69
+
!!! Note "SSO with the faas-cli"
70
+
71
+
By default the faas-cli pro auth listens for OAuth callbacks on the address `http://127.0.0.1`. Entra does not support using the loopback address for redirect URIs. You need to explicitly set the flag `--redirect-host=http://localhost` to override the default value.
72
+
73
+
To login with the faas-cli when using Azure Entra as the identity provider we recommend using the Implicit Id flow.
0 commit comments