Skip to content

Commit

Permalink
BankId documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Serg-Maximchuk committed Mar 18, 2016
1 parent a4cd4d3 commit 09a62b9
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 44 deletions.
18 changes: 18 additions & 0 deletions docs/bank-id/generate.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Generate BankId
===============

In this guide tells about test bankId for testing environment

1. Login with your real/legal bankId on https://demo.bankid.com

2. Go into "Issue BankID for Test"

3. Generate person: https://fejk.se/

4. Fill out form "Issue Mobile BankID" and submit

5. Send activation code

.. note::
With the BankId you have you can login and generate more, so you should have a test bankId on your computer to be able to generate new bankId's

51 changes: 7 additions & 44 deletions docs/bank-id/index.rst
Original file line number Diff line number Diff line change
@@ -1,46 +1,9 @@
Login with BankId
=================


In ImCMS you can login with BankId.

Generate BankId
---------------

1. Login with your real/legal bankId on https://demo.bankid.com

2. Go into "Issue BankID for Test"

3. Generate person: https://fejk.se/

4. Fill out form "Issue Mobile BankID" and submit

5. Send activation code

.. note::
With the BankId you have you can login and generate more, so you should have a test bankId on your computer to be able to generate new bankId's


Login
-----

1. :download:`- <https://bankid.com/assets/bankid/rp/BankID_7.1.0_BGC_CUSTOMERTEST.apk>` `Download <https://bankid.com/assets/bankid/rp/BankID_7.1.0_BGC_CUSTOMERTEST.apk>`_ BankID Security Application
If you haven't already installed BankID Security App, please download it from App Store, Google Play or Windows Phone Store.
If you have some problems with installation, look here_ or this_.

.. _here: https://www.bankid.com/assets/bankid/rp/installation_guide_android.txt

.. _this: https://www.bankid.com/assets/bankid/rp/how-to-get-bankid-for-test-v1.3.pdf

2. Start BankID Security App and select New BankID
You can also select New BankID under Settings in the security app.

3. Enter personal ID number and Activation Code
Enter your ID number and the activation code below, in BankID Security App.

.. attention:: Your Activation Code is valid for 10 minutes. If you leave this page the activation is aborted

4. Choose a Security Code
Choose a personal Security Code with at least 6 digits in BankID Security App. You will use this code whenever you use Mobile BankID.
BankId
======

.. toctree::
:titlesonly:

settings
generate
login
25 changes: 25 additions & 0 deletions docs/bank-id/login.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Login
=====

To login with test bankId, follow next steps:

1. :download:`- <https://bankid.com/assets/bankid/rp/BankID_7.1.0_BGC_CUSTOMERTEST.apk>` `Download <https://bankid.com/assets/bankid/rp/BankID_7.1.0_BGC_CUSTOMERTEST.apk>`_ BankID Security Application
If you haven't already installed BankID Security App, please download it from App Store, Google Play or Windows Phone Store.
If you have some problems with installation, look here_ or this_.

.. _here: https://www.bankid.com/assets/bankid/rp/installation_guide_android.txt

.. _this: https://www.bankid.com/assets/bankid/rp/how-to-get-bankid-for-test-v1.3.pdf

2. Start BankID Security App and select New BankID
You can also select New BankID under Settings in the security app.

3. Enter personal ID number and Activation Code
Enter your ID number and the activation code below, in BankID Security App.

.. attention:: Your Activation Code is valid for 10 minutes. If you leave this page the activation is aborted

4. Choose a Security Code
Choose a personal Security Code with at least 6 digits in BankID Security App. You will use this code whenever you use Mobile BankID.


28 changes: 28 additions & 0 deletions docs/bank-id/settings.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
BankId Application Settings
===========================


To use BankId logging you need to add next authentication properties to your application properties:

.. code-block:: properties
authentication-method-1 = loginPassword
authentication-method-2 = cgi
Next property sets the authentication method URL:

.. code-block:: properties
cgi-authentication-method-url = *url*
where *url* is different:

* for testing: https://m00-mg-local.testidp.funktionstjanster.se/samlv2/idp/req/0/0

* for production https://m00-mg-local.idp.funktionstjanster.se/samlv2/idp/req/0/0

And the last one - server name, like **localhost:8080** or **https://www.somesite.se** :

.. code-block:: properties
server-name = *actual server name*

0 comments on commit 09a62b9

Please sign in to comment.