Project

General

Profile

Bug #2656

BBG Mobile tidak bisa diakses untuk user karena memakai LDAP

Added by Muhammad Bintar 7 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Immediate
Start date:
03/20/2024
Due date:
04/05/2024
% Done:

0%

Estimated time:
Spent time:

Description

dear tim developer mohon support nya untuk developing terkait apimobile dimana saat ini untuk user yang pakai LDAP itu tidak bisa login.

contoh username nya adi.priyono
password Aprie1234@

berikut catatan nya dari tim IT BBG


Files

requirement BBG LDAP APIMOBILE.docx (81.2 KB) requirement BBG LDAP APIMOBILE.docx requirement bbg ldap Muhammad Bintar, 03/20/2024 10:25 AM
clipboard-202404021533-mowaz.png (49.4 KB) clipboard-202404021533-mowaz.png shofwan shiddiq, 04/02/2024 03:33 PM
#1

Updated by Kezia Pawitra Yulianti 7 months ago

  • Status changed from New to Assigned
  • Priority changed from Normal to High
#2

Updated by shofwan shiddiq 7 months ago

  • Assignee changed from shofwan shiddiq to Muhammad Bintar

Dear Mas Bintar, tolong di buatkan windows server ldap nya dulu ya, yang bisa di akses di local pc nya BBG dev Supaya bisa di akses oleh API mobile bbg untuk tester.

#3

Updated by Kezia Pawitra Yulianti 6 months ago

  • Due date changed from 03/27/2024 to 04/05/2024
  • Assignee changed from Muhammad Bintar to shofwan shiddiq
  • Priority changed from High to Immediate

sesuai diskusi pagi, untuk server LDAP tidak eprlu di buatkan lagi ya d port Minova.
Hari ini sudah bs akses vpn lgs kesana untuk akses ke ldapnya.
Tolong update hasil nya gimana dan apa selanjutnya yg harus di develop ya Aa sesuai hasil ngoprek siang ini.

Tks

#4

Updated by shofwan shiddiq 6 months ago

Akses ke Server LDAP BBG Pake VPN

Username: minova.hris
Password: L#&yt6wQ
Server: server.bbg.co.id

Key di web config:
<add key="BASE_LDAP_DOMAIN" value="*****"/>
<add key="BASE_LDAP_PATH_ENTRY" value="LDAP://ldap.bbgemilang.co.id:389/uid=@username,ou=Users,dc=bbgemilang,dc=co,dc=id"/>
<add key="BASE_LDAP_USERNAME_PATTERN" value="uid=@username,ou=Users,dc=bbgemilang,dc=co,dc=id"/>
<add key="BASE_LDAP_USER_SEARCH_FILTER" value="(uid=@username)"/>

Akses ke API Mobile:
AuthController => api/Auth/Login
json: {"Username":"minova.hris","Password":"L#&yt6wQ"}

Perlu di tambahkan authorization di AuthController untuk akses ke Ldap Server seperti yg sudah berjalan di BBG Web, kemudian dari end point api/Auth/Login di Api mobile perlu mendapatkan return success/fail sesaui isi data di ldap server, dengan format login sukses pada umumnya.

Contoh: {
"data": {
"clientID": null,
"userID": null,
"userName": "captain",
"fullName": "captain",
"nick": null,
"ldapID": null,
"token": "OEL3lCzVar//BscGQLYqlQ==",
"langId": null,
"employeeID": null,
"email": "",
"profilePictureUrl": "http://localhost:17487/UserProfile/GetImageFromByteArray/captain",
"useSSO": false
},
"acknowledge": 3,
"message": "Login success",
"version": "1.0",
"build": "0",
"accessToken": null
}

#5

Updated by Kezia Pawitra Yulianti 6 months ago

  • Assignee changed from Kezia Pawitra Yulianti to M Azid Wahyudi

dear Azid,
boleh tolong d bantu untuk ldap mobile ini.
Tks

#6

Updated by M Azid Wahyudi 5 months ago

  • Status changed from Assigned to QA Test
  • Assignee changed from M Azid Wahyudi to shofwan shiddiq

dear shofwan , untuk LDAP ini udah bisa ya

makasih

#7

Updated by shofwan shiddiq 5 months ago

  • Status changed from QA Test to Closed

Also available in: Atom PDF