File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,23 @@ This server runs on port 8002 and does two main things:
17
17
2 . Hosts an endpoint, ` /introspect ` , that takes the cookies in the request and
18
18
returns a 200 code if the tokens are good, and a 401 if they are bad.
19
19
20
+ Configuration
21
+ -------------
22
+
23
+ You will need to [ create an app] ( create.md ) at the main ` soauth ` server site. Then, you will
24
+ need the following environment variables set:
25
+
26
+ - ` SOAUTH_APP_BASE_URL ` - the base URL for your consumer app, e.g.
27
+ ` https://nersc.simonsobs.org/auth ` .
28
+ - ` SOAUTH_AUTHENTICATION_BASE_URL ` - the base URL for the auth service, e.g.
29
+ ` https://identity.simonsobservatory.org `
30
+ - ` SOAUTH_APP_ID ` - the APP ID from the ` soauth ` UI.
31
+ - ` SOAUTH_CLIENT_SECRET ` - the client secret from the ` soauth ` UI.
32
+ - ` SOAUTH_PUBLIC_KEY ` - the public key from the ` soauth ` UI.
33
+ - ` SOAUTH_KEY_PAIR_TYPE ` - the key pair type from the ` soauth ` UI.
34
+ - ` SOAUTH_REQUIRED_GRANT ` - the grant from ` soauth ` that you require to have access to this
35
+ service.
36
+
20
37
Using with Nginx
21
38
----------------
22
39
You can’t perform that action at this time.
0 commit comments