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

cap + basic auth #502

Closed
mpah opened this issue Jul 14, 2023 · 4 comments
Closed

cap + basic auth #502

mpah opened this issue Jul 14, 2023 · 4 comments

Comments

@mpah
Copy link

mpah commented Jul 14, 2023

Im running a local CAP project with cds watch. The ui5 apps in "app/..." can be accessed with no issues at:

http://localhost:4004/appname/webapp/test/flpSandbox.html

wdi5 works as well, the issue is however Im using basic auth (CAP mock strategy defined in top lvl package.json).

I tried supplying the credentials both

  1. through dotenv and also
  2. directly when runnign wdi:

set wdi5_username=a&& set wdi5_password=a&& wdio run ./wdio.conf.js

When I

console.log(process.env)

inside the test.js file I can see the credentials listed properly

[0-0] wdi5_password: 'a', [0-0] wdi5_username: 'a',

I can see the basic auth window pop up twice but the ui5 page itself does not load.

Ive used BTP auth and that worked without issues, the login happens immediatly.

Runtime Env:

  • wdi5/wdio-ui5-service-version: 1.5.1
  • UI5 version: 1.112.1
  • node-version: 18.12.1
  • OS: Windows 11
  • Chrome
@vobu
Copy link
Contributor

vobu commented Jul 14, 2023

yep, this is a tricky one and already tracked in https://github.com/orgs/ui5-community/projects/2/views/1?pane=issue&itemId=18873812 - there is movement on this, together with some colleagues from PwC.
Do you want to chime in, coding-wise? Then I'd hook you up for the upcoming meeting.

@mpah
Copy link
Author

mpah commented Jul 14, 2023

yep, this is a tricky one and already tracked in https://github.com/orgs/ui5-community/projects/2/views/1?pane=issue&itemId=18873812 - there is movement on this, together with some colleagues from PwC. Do you want to chime in, coding-wise? Then I'd hook you up for the upcoming meeting.

Yes sure

@vobu
Copy link
Contributor

vobu commented Jul 17, 2023

yep, this is a tricky one and already tracked in https://github.com/orgs/ui5-community/projects/2/views/1?pane=issue&itemId=18873812 - there is movement on this, together with some colleagues from PwC. Do you want to chime in, coding-wise? Then I'd hook you up for the upcoming meeting.

Yes sure

then shoot me an e-mail to [email protected] and I'll forward the meeting invite!

@dominikfeininger
Copy link
Collaborator

dominikfeininger commented Aug 11, 2023

@mpah any updates on this after our meeting? Awaiting eagerly your PR ;)

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

No branches or pull requests

3 participants