File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -118,13 +118,15 @@ let run (self : Opts.login) : int =
118
118
let _t_server = Thread. create (fun () -> H. run_exn h) () in
119
119
120
120
let redirect_uri = spf " http://localhost:%d/cb/" self.local_port in
121
+ let audience = " https://imandrax.dev.imandracapital.com/" in
121
122
(* URL to open in the user's browser *)
122
123
let url =
123
124
let client_id = " EZBvjhs2aiatKUNeUuIWcph7ZoBpYckB" in
124
125
if self.dev then
125
126
spf
126
- " https://test-ai.eu.auth0.com/authorize?response_type=token&client_id=%s&redirect_uri=%s&state=%s"
127
+ " https://test-ai.eu.auth0.com/authorize?response_type=token&client_id=%s&audience=%s& redirect_uri=%s&state=%s"
127
128
client_id
129
+ (H.Util. percent_encode audience)
128
130
(H.Util. percent_encode redirect_uri)
129
131
(H.Util. percent_encode nonce)
130
132
else
You can’t perform that action at this time.
0 commit comments