OIDC: API only login #13662
Majardom
started this conversation in
Feature Requests
Replies: 1 comment
-
@Majardom the problem you will run into is the OIDC "allow" page. The flow is:
So a headless auth flow for OIDC can only work if the IDP can do so headless. Which probably will not work for initial auth flows, but you can sometimes do it with subsequent auth flows if everything has been approved before. I think what would work best for you is not implemented yet, but described in this issue: #11901 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am planning to build my own API on top of this solution so I am interested in using only API calls without an UI. I configured OIDC and I am able to login using user interface.
Is it possible to authenticate via API calls?
I can see that to send authenticated request I need "Coder-Session-Token" as a header or query parameter but I not completely understand how to get that token via API using OICD authentication.
Beta Was this translation helpful? Give feedback.
All reactions