Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection to XMLSERVICE via OAuth credentials #68

Open
tomcphr opened this issue May 10, 2024 · 1 comment
Open

Connection to XMLSERVICE via OAuth credentials #68

tomcphr opened this issue May 10, 2024 · 1 comment

Comments

@tomcphr
Copy link

tomcphr commented May 10, 2024

Hi there

I'm working on an web app that wants to call the XMLSERVICE to call RPG programs etc.

However, I don't want to store the AS400 user credentials in memory or on a database somewhere for security reasons

Is it possible to use OAuth with the XMLSERVICE?

So basically we can get a user to login once with their AS400 access and provide back a token to store and then use when accessing the XMLSERVICE

Cheers

@kadler
Copy link
Member

kadler commented May 10, 2024

There are a variety of ways to use XMLSERVICE and most of them don't have any authentication within XMLSERVICE itself. While there is a way to use it via CGI in Apache, nowadays it's usually recommended to use it through the SQL stored procedures through a database connection or via xmlservice-cli command over SSH, however neither of those methods support OAuth.

Because XMLSERVICE is just a set of APIs, It's entirely feasible to build any sort of authentication method around XMLSERVICE but AFAIK there's no pre-built solution for what you're asking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants