Replies: 4 comments
-
Please note this response was created using generative AI leveraging previously available information from the repository. This information may be helpful however it is our strong recommendation that you carefully consider the information before blindly applying it. Hello, To achieve the integration you're describing with Authelia, where you handle the login on your webpage and then interact with Authelia's API to authenticate and pass session cookies and tokens back to the client, you will need to follow a specific sequence of API calls. Here’s a general outline of the steps involved:
It’s important to ensure that all communications are done over HTTPS to secure the credentials and session information being transmitted. For detailed API documentation and more specific guidance, you might need to refer to Authelia's official documentation or source code, as the exact endpoints and parameters might depend on the version of Authelia you are using and any custom configurations. If you encounter any specific issues or need further customization, consulting the Authelia community on GitHub or their official support channels might provide more tailored assistance. This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
You can technically do this by copying the Set-Cookie header as per normal web semantics, this however is not an intended use case so YMMV. You can see all of the API endpoints and what they do by viewing I'd recommend using something like https://github.com/auth0/express-openid-connect to perform logins instead. |
Beta Was this translation helpful? Give feedback.
-
Here's an Express.js example I drummed up with theoretical values: https://www.authelia.com/integration/openid-connect/expressjs/ |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot @james-d-elliott . Will try this and get back. Appreciate your quick help on this |
Beta Was this translation helpful? Give feedback.
-
Hi,
We are looking for using our Login WebPage , obtain the credentials and call Authelia API to login
As part of this response, can we take the session cookies etc given from Authelia and pass it back to the client along with the Token.
Is this possible ? If so any pointers on which APIs would we need to call and the order for the firstfactor auth
Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions